import allure

from BasePage.BasePage import BasePage


class MyAccountPage(BasePage):
    # 定位器
    __logout = 'a[title = "退出"]'

    @allure.step("断言安全退出可见")
    def logout_to_be_visible(self, locator):
        return self._ele_to_be_visible(locator)
